<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
		<title>页面类型 -- Powered by CentIMS {$core_version}</title>
		<link href="{'bootstrap/css/bootstrap.css'|shared}" rel="stylesheet"/>
		<link href="{'bootstrap/css/bootstrap-responsive.css'|shared}" rel="stylesheet"/>
		<link href="{'common.css'|shared}" rel="stylesheet"/>		
	</head>
	<body>
		<div class="workspace">
			<ul class="nav nav-tabs">
				<li>&nbsp;&nbsp;</li>	
			    <li><a href=".">主题列表</a></li>
			    <li class="active"><a href="#">页面类型</a></li>
			    <li><a href="./?Ctlr=AddType">新增类型</a></li>
		    </ul>		    	        
		    <table id="type-list" class="table table-striped table-bordered table-condensed">
				<thead>
					<tr>
						<th class="col_chk"><input type="checkbox"/></th>
						<th class="w150">{'页面类型'|sorth:page_type:$curl}</th>
						<th class="w200">页面类型名</th>
						<th class="wa">默认模板文件</th>						
						<th class="wa">说明</th>
						<th class="w150 tools">操作</th>
					</tr>
				</thead>
				<tbody id="themes">
					{foreach from=$items item=item}
					<tr>
						<td class="col_chk"><input type="checkbox" value="{$item.page_type}"/></td>
						<td>
							<span class="label label-info">{$item.page_type}</span>												
						</td>
						<td>{$item.page_type_name}</td>	
						<td>{$item.default_template}</td>
						<td>{$item.note|escape}</td>				
						<td class="tools">{'page_type_options'|fire:$item}</td>
					</tr>
					{foreachelse}
					<tr>
						<td colspan="6" class="txt-ac">无记录</td>
					</tr>
					{/foreach}
				</tbody>
			</table>			
		</div>
		<script type="text/javascript" src="{'jquery-1.7.1.js'|jquery}"></script>
		<script type="text/javascript" src="{'bootstrap/bootstrap.js'|shared}"></script>
	</body>
</html>